package com.xiaoyu.test.service;

public class WorldServiceImpl implements WorldService{
    private String name;
    @Override
    public void explode() {
        System.out.println("Damn! The " + name + " is going to explode!");
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
